package com.wty.basic.codeblock;

/**
 * @Author wangtengyu
 * @Create 2018-08-03-14:56
 */
public class Test1 {
    static{
        System.out.println("static code block");
    }

    {
        System.out.println("gouzao code block");
    }

    public Test1() {
        System.out.println("nothing");
    }

    public Test1(String info){
        System.out.println("info");
    }

    public static void main(String[] args) {
        Test1 test1=new Test1();
        Test1 test2=new Test1("heiheihei");
    }
}
